package com.lagou.user.dao;

import com.lagou.common.pojo.Token;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * created by kirito at 2020/7/5
 */
public interface ITokenRepository extends JpaRepository<Token, Integer> {

    Token findByToken(String token);

    Token findByEmail(String email);
}
